// 商品详情分享海报模版
export function goodsDetails(goodsName, goodsImg, manufacturer, price) {
	return {
		width: '750rpx',
		height: '1114rpx',
		background: '#F6F7FB',
		views: [{
				type: 'view',
				css: {
					left: '40rpx',
					top: '144rpx',
					background: '#fff',
					radius: '16rpx',
					width: '670rpx',
					height: '930rpx',
					shadow: '0 20rpx 48rpx rgba(0,0,0,.05)'
				}
			},
			{
				type: 'image',
				src: goodsImg,
				mode: 'widthFix',
				css: {
					left: '40rpx',
					top: '40rpx',
					width: '84rpx',
					height: '84rpx',
					radius: '50%',
					color: '#999'
				}
			},
			{
				type: 'text',
				text: manufacturer,
				css: {
					color: '#333',
					left: '144rpx',
					top: '40rpx',
					fontSize: '32rpx',
					fontWeight: 'bold'
				}
			},
			{
				type: 'text',
				text: '为您挑选了一个好物',
				css: {
					color: '#666',
					left: '144rpx',
					top: '90rpx',
					fontSize: '24rpx'
				}
			},
			{
				type: 'image',
				src: goodsImg,
				mode: 'widthFix',
				css: {
					left: '72rpx',
					top: '176rpx',
					width: '606rpx',
					height: '606rpx',
					radius: '12rpx'
				}
			},
			{
				type: 'text',
				text: '￥' + price,
				css: {
					color: '#FF0000',
					left: '66rpx',
					top: '812rpx',
					fontSize: '56rpx',
					fontWeight: 'bold'
				}
			},
			{
				type: 'text',
				text: goodsName,
				css: {
					maxLines: 2,
					width: '406rpx',
					color: '#333',
					left: '72rpx',
					top: '948rpx',
					fontSize: '36rpx',
					lineHeight: '50rpx'
				}
			},
			{
				type: 'image',
				src: goodsImg,
				mode: 'widthFix',
				css: {
					left: '500rpx',
					top: '864rpx',
					width: '178rpx',
					height: '178rpx'
				}
			}
		]
	}
}
